package com.wisdytech.linkdcs.partLife.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 备件出入库记录
 * </p>
 *
 * @author chenbin
 * @since 2018-06-05
 */
@TableName("TT_EQ_PART_STORAGE_RECORD")
public class PartStorageRecord extends Model<PartStorageRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 备件id
     */
    @TableField("PART_ID")
    private String partId;
    /**
     * 库存方式（出入或入库）
     */
    @TableField("STORAGE_TYPE")
    private String storageType;
    /**
     * 领料人
     */
    @TableField("PICK_USER")
    private String pickUser;
    /**
     * 操作人
     */
    @TableField("STORAGE_USER")
    private String storageUser;
    /**
     * 操作数量
     */
    @TableField("STORAGE_NUM")
    private Double storageNum;
    /**
     * 操作时间
     */
	@TableField("STORAGE_TIME")
	private Date storageTime;
    /**
     * 备注
     */
	@TableField("REMARK")
	private String remark;	  
	 

    public Date getStorageTime() {
		return storageTime;
	}

	public void setStorageTime(Date storageTime) {
		this.storageTime = storageTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getPartId() {
        return partId;
    }

    public void setPartId(String partId) {
        this.partId = partId;
    }

    public String getStorageType() {
        return storageType;
    }

    public void setStorageType(String storageType) {
        this.storageType = storageType;
    }

    public String getPickUser() {
        return pickUser;
    }

    public void setPickUser(String pickUser) {
        this.pickUser = pickUser;
    }

    public String getStorageUser() {
        return storageUser;
    }

    public void setStorageUser(String storageUser) {
        this.storageUser = storageUser;
    }

    public Double getStorageNum() {
        return storageNum;
    }

    public void setStorageNum(Double storageNum) {
        this.storageNum = storageNum;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

}
